added plugin return