Look, some code

It herps and it derps, but it gets the job done