changing getnextline