modify for objects