code cleanup: #21
Merge pull request #24 from ahebert/master

code cleanup: #21