delete uncessary code