Added check to turn or not