added node-style (error,result) callback