start to build the adapter