work on porting array to 2.0