little tools to convert lists of events