remove the console logging from production code