remove unessary code