added _height and _width calculations from website