finished rates backend + gui