writing a happy-list