refactor / keyboard functionality