worked on this challenge in class