clean rating code