working on broken history plugin