Added function to this plugin