add template for enum types