changes for the new agent