NEW YORK (AP) -- Jason Segel is becoming an author.
The star of the TV series "How I Met Your Mother" and "Freaks and Geeks" has a deal with Random House Children's Books for a middle-grade series set in a haunted town. The series is called "Nightmares!" and will debut in the fall of 2014.
Random House announced Wednesday that best-selling children's author Kirsten Miller will collaborate with Segel. The publisher is calling the series a story of kids "overcoming their fears."
The 33-year-old Segel is also known for the films "Knocked Up" and "Forgetting Sarah Marshall."