add height and width to initiatlize method