Put it in a promise