basic plugin functionality working