return struct arrays