added agent states