add logic operations and "if" function