removed promise attribute infavor of waiting for scope.center to be set