added history and nav