took out unnecessary function