added some temp debug statements