generalization of lines