Remove uncessary code