refactoring => using mask template to replace