Added the percentage calculation