Added example in main.js