removed console debug outputs