stars connected to database