updated debugging statements