trying to be smart with template functions and dynamic loading