added basic history to patternView, looks great