channel product ranking function finished