add segment and auxiliary