PR updates, clean up name assignment, move error calls, refactor generate_new_name, remove generate_char and generate_num methods