Build with templates