added a promises `then`. #6