Many thanks to Cory Benfield for their contribution!