all code_blocks have an element corresponding to their parent now
terrible crutches and horrible repeating code run-throughs, but whatever