move equalizer function to functions file, instead of weather (can be used where ever)