finalize rating system