add AS action and change c template