Changed width and height to ints