delete some unnessary code