removing unnessessary classes