This was good advice from somethingrandom - https://www.ukpunting.com/index.php?topic=300020.msg3482337#msg3482337