add getListPattern method