tabs to spaces
correcting errant details of the add_event() emthod removed referecne to the deprecated next_event() method