Added code for first plugin