finished sync example