removed support for promises