registering types
removing crap