pattern doku