week 10 in class

working with preference