changed trigger command
optimization