Added max_amount variable