trying to marshal a class