added stop method to plugin