add citation and condense paragraph about for pattern matching