took out debug logging