added more patterns