Added checkStar() functionality