The program is structured wrong BUT