removing debugging statements