No problem mate, I'm glad I could help

Experimenting with the code is imo the best way to learn (and simply that way I learn c-script )

You had 0 stars when nobody had rated you. Then someone rated you 5 stars, therefore you got 5 stars. And now someone might have rated you a 1 or 2 stars, therefore you got 3 (average).
All I can tell is, that I haven't rated you at all