answer for array