Added support for unidirectional operations (i. e. numbers first instead of variables