wrapx function for now