solution for some TTDs together with Negi and Dogan