setup an outline for my solution. will now try to make it work.