tested serialization, but commented out for now