renamed GetLine to GetLines