Tag Leave application for temple function