Removed variable declaration for log