add plan more mthods and add api call collector.