Added sample checker