More compact code for select and switch