added new keyboard functions