rewrite maser trigger