snippet to chain sync methods to an initial async