Modify the function template a bit more
'