Add star rating logic for later integration