Passing data to custom xlat function