deserialization code added, but not functioning