Added John's homework