add parse logic
Merge pull request #1 from k1row/parse

add parse logic