Delete unecessary code