resetPlanets() function up