use undefined instead of zero and empty string