Modifications to findTransferFunc