small improvements in b