starting work on template function