basic template reference prototype