add class header and width properties