u --> for undo
space --> for reset