added intervention functionality