Doug, I'm not 100 percent sure this is right, but I do know that as written, it will overflow the array dr_mirror. What do you think? Thanks, Michael