learn method of Array