change to adapt agent