got rid of history scoping