How to transition to formula?