add mask to photometer