there was a goofy if (value == value) condition in here that was really bothering me.  I can't imagine a reason that was proper, so I reworked it to make sense.