Deleted unneccessary code