start generating the adapter