 switch e get key code 
