- removed data type and replaced return value by template