adds some simple checks for dbl'in vals