made width and height more logical