This was the crux to it all working.