prototype for exercise day1