bugfix: adds ++it
Merge pull request #13 from nokamoto/bugfix_seg

bugfix: adds ++it
Merge branch 'master' into template
adds template register