check for nans...