Some methods for arrays