Added new ctor for line