ensure to store the compiled route