add instance return of plugin