implemented defaultHeight