removing unneccessary classes