Make width and height global