Added debugging statements
Added debugging statements