improved timestamp suffix
improved segment recording