fixes promises, updated docs