initialize keyboard