template action works