[#63182680] Formatted code and re-submitted as I didn't want to incur the wrath of Mr Elder