time is implemented for the templates