new method: getBounds()