add logic not