Added record option for unlimited dimension