implement the hieght option