What is this function purpose? You are not using anywhere on code that I have notice