Re-activated the if statement