added kbd stuff.