trying other way to find height