Use variable names in the route to extract stat