refactored destroying star