comment on why we are using a switch