nit: I'd prefer a blank line just before this return to better highlight the two routes.