allow primitive types for response