added plugin with two simple methods