removing unneccessary content