Author Jo Nesbo's daughter wanted him to write her a story about a little girl, a boy who was shorter than her, a mad scientist and a dinosaur. Nesbo changed the dinosaur into an anaconda and added the plot about the fart powder, since he always wanted to write a children's book about farting.