class and practice exercises from week 2