Added sample functional