made # of lines dynamic