fixed seg error bug
prints out larget number now