silly bug
(#6)
handle corner cases for excluding bad values
(#6)