type casting reviewed
Merge pull request #78 from crazygx/master

type casting reviewed