removed console logging