Adds some nasty code