Why is it commented? If it's useless, just remove it.
It also causes warning (unused variable 'percent')