Managed to split the route into an array