Added width and height parameters