stage 10 V2.0 added boolean ref