Change the static implementation to create the adapter