I can't see anywhere this function is being called.