light docs on promise implementation