Refactored code to adding new actor and fixed rating can go beyond 100 and below 0