import and few cosmetic changes to the events history