also the edit thing is typically useless :D as you set %opchan as $did(1) why not use just $did(1) instead of %opchan and save a whole 2 lines :D
saving you money everyday!
sorry just saw it on an infomercial >=)