https://github.com/Maxwin-z/xsmth-newsmth