- templates for conversion functions