The main reason i cant do it like this is because i cannot put "04C0" into $loc and then call $loc in seek. This is where i have been stuck at for a while now. i want to put a hex reference "0x04C0" into $loc. but that doesnt work because it has a letter in it.