Masked for switch txt/db