more functions to agent
more functions to agent