took out local testing code