changes to agentsetnew