Lowered the insanity level of the code a bit.