Chaning logic for adapter