renamed wrapper to adapter