delete unnecesary code