implementing block/variable relation