adding support for routing options and partials