removing unneeded temp switch