fixed a couple syntax errors and re-referenced template init; it loads without errors now