First basic code for plugin