add lines dynamic