simple line impl, test fix