Inheritance serial class verbeterd