fix all the fatal problems of this attached file. DONT TALK