still compiling, now with a tree for A