resolve() and the callback func of then() should has only 1 argument