added logic to log the loudest frequency bucket found