Modified logic for ANY slightly