add assert.
Merge pull request #5 from coverxit/master

add assert.