adding more array methods