better compute the percentage