Added `lines` function