was able to serialize and deserialize