変数名の変更
element -> rental, this_amount -> result
bug fix