Yeah, but... but why? In this case, the $ul belongs to the foreach, it is built in there. It actually makes more sense after $radio to begin with. If we do switch it around, as I think we should, we would end up with:

```php
        if (count($fields) > 1) {
            $radio = new html_radiobutton(array('name' => 'usertype'));
            $ul    = '';

            foreach ($fields as $key => $val) {
                $ul .= html::tag(
```

vs.

```php
        // Create list with radio buttons
        if (count($fields) > 1) {
            $radio = new html_radiobutton(array('name' => 'usertype'));

            $ul = '';
            foreach ($fields as $key => $val) {
```