serial class