format requires names fields in python2.6