Adding pledging functionality