implemented Hight class