add require toggle decorator