attempting assignment 2