added clear function
Merge pull request #1 from bbobrian/master

added clear function