moved agent_phone result to global