pre-sed checkpoint
functions renamed throughout project to accept void * data param