add attribution for patterns