added require toggle decorator