abstacting tw methods to adapters