Close #10 - Add resetPattern method