finished first attempt, hope im smart enough to solve this