adapting to changes