add changes to Reverse Polish