added Matcher functionality for appending