got something working for level0, pretty ugly though