Adapted addStar to follow the spec given by Jamshid correctly.