define plugin in one place