An interesting choice to use a list of variable length. Since the donation amounts are never going to change once they've been made, maybe you should be storing them in something immutable and lighter-weight like a tuple?