Moved a function that was in a prototype call because I did not need it there - I think.
Sigh