added new segment module.