templates for exit