Function for well frequency added