Added in debugging statements.