adapt output