Added sample flag