added checkout to sample