add logic expression