base code for assignment week 06