I create a collection for list of all address of a particular user and call it as:

```
$addresses = collect($user->GetAddress);
$addresses = $addresses->where('deleted', 0);
$addresses = $addresses->except(['deleted', 'created_at', 'updated_at']);

```

I get the output like:

```
[
        {
            "id": 1,
            "user_id": 1,
            "name": "mr.test",
            "line1": "test1",
            "line2": "test2",
            "pincode": 100,
            "city": "test3",
            "state": "test4",
            "mobile": "test5",
            "default": 0,
            "deleted": 0,
            "created_at": "2017-02-23 09:20:09",
            "updated_at": "2017-02-23 09:20:09"
        }
]

```

It still returns the fields that I do an except on. What am I doing wrong?

I even tried these:

```
$addresses = $addresses->each(function ($item, $key) {
    return $item->except(['deleted', 'created_at', 'updated_at']);
});

```

and

```
$addresses = $addresses->each->except(['deleted', 'created_at', 'updated_at']);

```