removed lines and test_lines - though i suspect they may return
moved to uncoupled functions. everything passes