remove junk
add agent_statuses synthesis code