remove a bunch of unneccessary stuff.