set up variables of a star