Many thanks to Shane McChesney for their contribution!