percentage calculation looks correct