added plugin example showing all possible functions