setting headerBlock attribute