added default size to zero if no header supplied