finished pattern matching post