took out testing code