Updated to use any input for initializing the rating