added jointLocal agent.