Using GPT-4 to help refactor code

Published --