line by line

first attempt at #3 not sure if "ab" is the right mode, can't test it until monday.