changed structure of action templates