Made some changes to donation functions