updated version... arr