Added additonal info. If else statements still don't work. Code is
becoming hairy, needs optomization and an additional 2 modules