deleting unnecesary classes