tookout some tings into a template