encapsulate height