very slowly hacking and getting things working
doing a few more terrible things
some more hackery