adding if statement to catch secondNumer being 0