I just optimized the capslock function.