Please don't look at this. This was really quick and really dirty ;)