debugged (S|HH|MMM). now allows for more nexts before giving up