implemented Reverb refactored code and made additional changes