finished RPN interface