added method to add adapters