removed old nxt code, use new nxt code in bricks