plugin code added for demo