Britney Spears has reportedly had the thumbs-up for her guest appearance in the US sitcom, How I Met Your Mother.

Britney put her acting skills into practice to play the doctor’s receptionist, Abby. The troubled singer has been on our screens for all the wrong reasons recently and there are hopes this may put her back on track.

“Working at How I Met Your Mother has been so terrific,” Brit told people.com. “Everyone, including the cast, the crew and the producers, has been wonderful and Abby is such a fun girl to play. I’m having a blast!”

The singer apparently arrived on time at the 20th Century Fox set accompanied by her mum and dad and filming was scheduled to work around visitation with her two boys.

“Her parents kept thanking everyone on set, saying this is just what their daughter needed,” a source told people.com.

Britney’s starring role will air in the US on March 24.