Removed an unneeded function