make it return list of protobuf messages