tried to cursify history function and ended up bashing head against wall