thanks skimask, cos u actually pointed out a bug in my code there. the first set should have been $20 to $2F... i accidentally put the decimal numbers in instead of hex.