a example that show how to create plug-system