Making the xfer template work