inputed try catch for nextINT