sample pattern work