Added debugging statements