- added debugging statements