Copying my bad code is no excuse :)