better array / vector support