Took out an unnecessary function.