Dwight installs a device in the office that will get everyone fired if they make too many errors.
When Robert decides to sell his mansion, Kevin suggests he throw a pool party for the office; Erin flirts with Dwight to get Andy's attention; Robert gives a tour of his home.
When Jim returns from jury duty Dwight questions him about the case; Angela and the senator welcome their new baby.
Andy tries to make holiday wishes come true; Robert decides to drown his sorrows at the office party.
After the warehouse employees win the lottery and quit their jobs, everyone in the office fantasizes about winning big; Darryl and Andy look for new warehouse workers.