finished logic except for adding stars