Some modifications to 'pb'