working, but slow
hwinv is very slow on the read