initial commit of switchselect