removed some diagnostic log statements