Deleted unneeded functions