Added some features for Lines