Working plugin implementation