Thats what you get for not sharing code between the manager and the agent ...
Comment on states.