tdd logM clean
tdd make tests pass