start to adapting new trigger syntax