Working on pattern stuff
Merge branch 'code' of github.com:kyzhai/SMURF into code