got generate segments working
finished assigning FS