Was this function not being used? I'm trying to work out why it's need deleted...