added advanced rpn to wed