add basic keyboard functionality