add setWidth and setHeight