Problem 1 first pass