1st take on assignment 1