Array of objects working now