added nextInt

missing function