added a missing promise