working on vsm
added thermocurve
added header
added segment_info