What's the purpose of this function ? Sounds wrong.