parser of samples