Added mask validator