work on todo
debug inverse in part + add local/root concept