deleting unneeded functions