second assignment, first part of the solution, fail attempt