Trying to handle nil values for experiment