Yes, the name of the show is "Castle", which is the name of the lead character, who supposedly is a fiction/mystery writer. The show does have a crime, police work, and all the main characters are well-played. The PD lets Castle follow along on cases, and he is often out of his element, but does provide a mystery writer's take on some of the crimes. There is a cute "chemistry" thing going on between Castle and the lead detective, Beckett, who is attractive and she gets so perturbed with Castle most times. As a very successful mystery writer, he has a posh apartment, lives with his daughter (teenager) and his mom. Good interaction betwixt the three of them. He is just a kid at heart, and is always playing some kind of games either alone or with his daughter. This is a very cute, (I would rate it PG) series, with nothing to offend anyone. Like most of the cop mysteries today, it hasn't a plethora of "gore". Actually one of the better network shows, though not "intellectual"
but definitely entertaining. As I said earlier, on the ABC Network. This is the second season.