promise support in setup functions