my 2nd assignment edited