thesis: add patent part, fix some