Implemented add lines