io/nio seminar:
-serialization refactored