removing console.log from which check