added single-custom_type template