[KevinMarks]the other thing about promises is that as written gRegor's function will return before the promise resolves - if you want to do further things afterwards, it's better to return the promise and chain a `then()` onto the function call as well.