Updated sample plugin