the purchase meail for buddha with more error checking