use built-in methods, Do not iterate all of lines