Playing with agents
removing unused functions