refactored ArrayResponse a bit