Add pattern support, write instructions into README