added mode parameter for get_lead_series'