@JohnTopley it looks like your equation works! thanks very much for your help!