added more array methods