working on array task