made the code work. followed the directions