throw exception in var etc if data does not have at least 2 elements