all ifs corrected, conditional simplified.  Thanks for the tip.