Removed console logging