added ctrl+z shortcut to undo