implement mask dynamic constructor and symbol constructor.