trying to complete the assignment