async e sync task ways