generelaizing adapters, hack for tests