tried to do the assignment