TOWN, small and medium-sized towns in their functional territorial context