adding unit=None in cases when data has no unit