abbreviated function template