added measurement for width or height.