Added margins and simplified response array