use fit serialization