finised marshalling & tests