https://www.gamhak.info/2022/07/madout2.html