HOW TO DO SEGMENT INTENDING