removing junk code