added items into serialization and deserialization