removed static for width and height