- Joined
- Oct 16, 2018
- Messages
- 57
Hello. i made a trigger, when i want save my map or test it, the trigger crashes i disables it self.
i sure it crashes for many else-actions.
How can i fix it? +2 REP
-
Events
- Unit - A unit Sells a unit
-
Conditions
- (Owner of (Selling unit)) Equal to Player 1 (Red)
- (Unit-type of (Selling unit)) Equal to Assault Flag (West)
-
Actions
- Unit - Remove (Sold unit) from the game
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 1
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit1 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit1 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit2 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit2 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit3 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit3 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit4 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit4 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit5 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit5 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit6 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit6 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 2
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit7 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit7 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit8 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit8 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit9 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit9 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit10 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit10 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit11 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit11 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit12 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit12 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 3
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit13 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit13 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit14 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit14 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit15 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit15 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit16 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit16 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit17 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit17 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit18 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit18 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 4
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit19 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit19 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit20 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit20 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit21 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit21 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit22 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit22 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit23 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit23 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit24 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit24 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 5
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit25 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit25 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit26 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit26 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit27 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit27 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit28 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit28 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit29 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit29 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Units in RedArmyUnit30 <gen> owned by Player 4 (Purple)) is empty) Equal to True
-
Then - Actions
- Unit - Create 1 (Unit-type of (Sold unit)) for Player 4 (Purple) at (Center of RedArmyUnit30 <gen>) facing 360.00 degrees
- Unit - Change color of (Last created unit) to Blue
- Unit - Order (Last created unit) to Hold Position
- Player - Set Player 1 (Red) Food used to (Player 4 (Purple) Food used)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current research level of Legioner I for Player 1 (Red)) Greater than or equal to 6
- Then - Actions
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Game - Display to (Player group((Owner of (Selling unit)))) for 4.00 seconds the text: Not enough space!
- Sound - Play Error <gen> at 100.00% volume, attached to (Selling unit)
- Player - Add (Point-value of (Sold unit)) to Player 1 (Red) Current gold
-
If - Conditions
i sure it crashes for many else-actions.
How can i fix it? +2 REP
Last edited: