added history to console