Made reverse polish work