Chris Brown and James DeBarge

Chris Brown may be behind bars, but that hasn’t stopped him from making music. The R&B superstar has collaborated with fellow inmate James DeBarge in jail.

According to TMZ, Brown has been passing time at L.A. County Jail by singing with the ’80s DeBarge hitmaker, known for hits including “Rhythm of the Night.”

The singers are in segregated side-by-side cells for high-profile inmates. But despite the walls that divide them, they have already written three songs. They even perform them during the long days with other cellmates joining in the jailhouse rock.

The 50-year-old DeBarge, who famously wed Janet Jackson in 1984, is serving time for assault with a deadly weapon and drug charges.

After admitting a probation violation earlier this month, Chris was ordered to 131 more days in jail, but may see an early release due to overcrowding.