added Line class