pseudo coded the first steps to my solution