First pluginized version of code