[ok] refactored into working state. TODO othint

TODO divide othint
(cleanup?)