Added new from template function