added max height value