Add guard condition.