Browseruk, can you explain why your deferencing method worked but mine didn't. I thought perl was deferencing the refernce for the gene object by using the -> notation. Whta exactly are you deferencing as the display_id method doesn't retrun a reference. thanks