less api call in rantanplan_spec