add analyze function
fix comments
Merge pull request #35 from 1000ch/dev

add analyze function