Changed the percentage logic around