added setStars method