assign the adapter