Bunch of experimental code which will probably go away