First pass at the fuzzy logic.