Deleted unecessary code