added code from week3day1