rename some functions; automatically restart_data prior to enumerating data; add simple example