$_->{id} == param('state') and $_->{sel} = 1 for @$states;