else-statement implemented (else if not working)