add getHookHeight method and getFootHeight method