renaming $obj2 to $obj1 for clarity
escaping database queries