new doSync method