add ability to match actions