some weird looking stuff that helped me understand whats going on, don't even try to make sense of the code thats being committed
very intermediate checkin
am pretty sure that i don't know what i'm doing atm...