Sorry, ugly stuff

Yeah, sorry if I messed some code up...