add rating functional