Brooklyn Nine-Nine is being reassigned.

Fox unveiled its midseason schedule on Tuesday, and the big news is that Nine-Nine — which currently airs on Sunday night — is moving back to its old Tuesday stomping ground. Beginning Jan. 5, Andy Samberg’s cop satire will air (appropriately enough) at 9/8c, where it will lead into Rob Lowe’s The Grinder, which shifts from 8:30 to 9:30.

With its old 9 pm perch now spoken for, New Girl will kick off its fifth season on Jan. 5 in its new Tuesdays-at-8 pm timeslot, leading into John Stamos’ Grandfathered (moving from 8 to 8:30). Scream Queens, BTW, wraps its first season on Dec. 8.

American Idol, meanwhile, kicks off its farewell season with a two-night, four-hour event that begins Wednesday, Jan. 6 and continues on Thursday, Jan. 7. Idol will then settle into its regular Thursday 8-10 pm timeslot the following week, bumping Sleepy Hollow to Fridays and Bones off the schedule entirely. (A return date for Bones is TBA.)

Beginning Sunday, Jan. 3, new live-action sitcom Cooper Barrett’s Guide to Surviving Life takes over Brooklyn Nine-Nine‘s 8:30 slot, while the animated comedy Bordertown replaces Last Man on Earth at 9:30.

Lastly, the Rob Kazinsky-led Second Chance (formerly known as Lookinglass, The Frankenstein Code and just Frankenstein) will premiere Wednesday, Jan. 13 at 9 pm.

All told, Fox’s midseason schedule looks like this; new shows are in CAPS.

SUNDAY, JAN. 3

8 pm The Simpsons

8:30 pm COOPER BARRETT’S GUIDE TO SURVIVING LIFE (Series premiere)

9 pm Family Guy

9:30 pm BORDERTOWN (Series premiere)

MONDAY, JAN. 4

8 pm SUPERHUMAN (Two-hour special)

TUESDAY, JAN. 5

8 pm New Girl (Season premiere)

8:30 pm Grandfathered

9 pm Brooklyn Nine-Nine

9:30 pm The Grinder

WEDNESDAY, JAN. 6

8 pm American Idol (Two-hour season premiere, part 1)

THURSDAY, JAN. 7

8 pm American Idol (Two-hour season premiere, part 2)

FRIDAY, JAN. 8

8 pm Masterchef Junior (Two-hour winter premiere)

SUNDAY, JAN. 10

7:30 pm Bob’s Burgers (Winter premiere)

WEDNESDAY, JAN. 13

8 pm American Idol

9 pm SECOND CHANCE (Series premiere)

FRIDAY, JAN. 15

8 pm MasterChef Junior

9 pm Hell’s Kitchen (Season premiere)

SUNDAY, JAN. 24

10 pm THE X-FILES (Season premiere, part 1)

MONDAY, JAN. 25

8 pm THE X-FILES (Season premiere, part 2)

9 pm LUCIFER (Series premiere)

SUNDAY, JAN. 31

7 pm GREASE: LIVE

FRIDAY, FEB. 5

8 pm Sleepy Hollow (Spring premiere)

9 pm Hell’s Kitchen

MONDAY, FEB. 29

8 pm Gotham (Spring premiere)

9 pm Lucifer

WEDNESDAY, MARCH 2

8 pm Rosewood (Spring premiere)

9 pm Second Chance

WEDNESDAY, MARCH 30

8 pm Rosewood

9 pm Empire (Spring premiere)