write one function each of caps lock and shift keys.