upgraded the adapter