samplesubmit to get the submit and the predictall