added float mask