removed console debug messages