commit the sample