Tue Nov 4 18:59:07 EST 2008 geoff done differently: eliminated buf and put result straight into a.