Same as below can this go to the top with the other private functions.