generators for connector and serializator