added in gui : can check if program was right or not