added commands and key mappings