got rid of some functions that were not being used