modify the star example