Add solution for the promises