Added sample controller