Considering also nil values