tweaks w.r.t. space and making promise value private