actually that could be 0 as well; todo -- should the check just be neq undefined?
Resolves #2 -- has been merged out