unit_code in the url instead of id