pulling the template out from the file to increase flexability