$T1val = ${$main_hash{$val}{$type}{$pegs}{'Section1'}}[0];