Add statistics gathering
use nextLine() instead of next()