improved ranking function used for selecting example hotels