Made capslock a coroutine