another bunch of hacks