placed limit on lines displayed