dummyAgent with some mistakes, working on it