deleting unecessary code