Added two nested states including a promise dependency