this is for assignment 2