modified lines
added key mapping