Adding debug statements