realloc edits