adapting