get name of sample successfully