set_funds convenience routine fixed