practice array, some methods