add semantics
Merge pull request #4 from malvinyeung/updates

add semantics