write the ranking functions to the bidding registration page instead of in the bid_result page