unused var, max height limit