fully working td-agent