restrict to one, zeroing out previous

as above
Merge pull request #6 from joelbaranowski/master

restrict to one, zeroing out previous