completing assignment 1