add dynamic segments