refactor(main)