removing console logging