add code rating