created var for height

created var for height