Comments added to code

source of plugin