more anaphora and pattern matching