put some adapters into generating functions