https://www.dr-compu.com/2017/06/aitype.html