added temp debug messages