https://github.com/shaoyuan1943/XX-lib