I don't use this function anymore. I left it in the code because I thought I could need it later for some purpose. But you are right I should remove it if there is no usage.