Working plugin with example