added sample code from week 6 day 1