added some more comments on making of plugin