got the basic structure for plugin