re-added height calculation