remove uncessary code