init h during initialization