renamed simpleAgent