Added debugging statements.