Add code rating checks