add segment tracker