added first impl of async query