Improves function comparison