removed console debug logs.