fix typo
it seems to run and produce decent result; see TO DO list