add basic plugin functionality