Add two patterns