Various partial work

attempts at coding some units.