testable

random letter update mem and flags