Add many functions for arrays