adding a general object whose props can be promised