checkin of percentage rank function