added serial class