wip. see readme.txt notes