getting ready to rewrite hist stuff