add verification of deserialized values