denoted TODO on promise testst