sync and async methdos spec && stubs