investigate what to do with promise object when resolved