start with NaN instead of 0