sentence1: Province Wellesley merely acted as a mainland buffer for Penang, and Melaka similarly turned its back on affairs in the hinterland.
sentence2: Wellesley's main purpose was to connect the provinces to the hinterlands, Melaka functioned similarly.