Corrected init of input class with rating