more debugging statements and comments