Created the adapter