working on get type template stuff for c