added a “rate” param to GUI