Updated the condition