trying out with the marshal function