I've read similar stories of Katy's songwriting. One band, I forget the name, said that they were in a studio recording while Katy was sleeping next door while recording One of the Boys and she woke up, walked into their session and changed a verse they were struggling with before going back to sleep. Say what you will about her performing skills, but no one can deny she is one of the best, if not the best, songwriter in pop today.