also use xo in main.js