converted to blue bird promises