This function was no longer in use so I deleted it.