new way to split the routes