still working on getting the prototypes to compile in template