added getWidth/getHeight