cleanup, version pin, added promise