change pledges from Double to Integer, what could possibly go wrong?