Added a nextLine function