add the title for the sting function to clear states separeted functions