working on cd_agent