taking out unneeded functions