implement convertion RPL