Added hole in the generate_transfer_functions to fill