add active_required decorator