changes to the method store_credits