delete unnessary code