modify for type