made PB2 an output as it is required