adding cached template loader (for real this time