Working on Line class