Rewrote member_fee function