just in case somebody passes in nil for data