Made changes to key_shifter