Added rank
Percentage accepts null instead of -1