defining withContext.
passing 'ok/'ng to callback.