Add debugging functionality
Add debugging statements