finished FastMarshal functions