save previous results; Ctrl+L to clear screen
DRYed; also: assign new variables only if necessary
refactored too long repl methods
do not count up res names for no reason