added async lambda support