fixed delete to take string pointer, updated comment block at top