added infix to prefix